package com.svs.project.service;

import com.svs.project.domain.ProLine;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.svs.project.mapper.ProLineLogDao;
import com.svs.project.domain.ProLineLog;
import com.svs.framework.base.service.CrudService;

import java.util.List;

/**
 * 每天生产线情况日志 服务层实现
 * 
 * @author 杜建桥
 * @date 2023-08-12
 */
@Service
public class ProLineLogService extends CrudService<ProLineLogDao, ProLineLog> {
    @Autowired
    private ProLineLogDao dao;

    public List<ProLineLog> screenList(String monitorCode){
        return dao.screenList(monitorCode);
    }

    public int insertLineLog(){
        return dao.insertLineLog();
    }
}
